Lender Price API
Locking a Loan Without LOS / 3. Export Pricing / 3.4 Add Export Pricing Lock Event Again (to Reprice Again Before Locking)
In This Topic
    3.4 Add Export Pricing Lock Event Again (to Reprice Again Before Locking)
    In This Topic

    This step demonstrate the ability to add a "Priced" event in the Lock Events (list of lock actions happening to loan). We re-add a Price event each time we want to re-select another line (with same or different scenario) so we keep history of what the user selected.

    Path

    POST /rest/v1/lp-ppe-api/price-quote/addLockEvent

     

    Headers

                
    
    Authorization
    
    Bearer {{accessToken}}
    

     

    Body

    Copy Code
       
    {
          "priceQuoteId": "{{priceQuoteId}}",
          "lockId": "{{lockId}}",
          "lockStatusId": "{{priceStatusId}}",
          "userIdToUseWorseCase": "{{userId}}",
          "lockEventExceptionInfo": null,
          "lockEventExtensionInfo": null,
          "scenario": {{scenario}},
          "lockDateUpdate": null,
          "hasSellSide": false,
          "historicalPricing": false,
          "exportAndLock": false,
          "lockEventId": "{{lockEventId}}",
          "lockEventComment": "[Rate Sheet Date: 2/23/2023, 3:47:09 PM America/Los_Angeles]. [Rate Sheet Date: 2/23/2023, 3:47:09 PM America/Los_Angeles]",
          "overrideSetting": {
              "newExtensionFee": 0,
              "newConcessionFee": 0,
              "newRelockFee": 0,
              "newExpirationDate": null
          }
      }

    Example Request

    Copy Code
    curl --location -g '{{protocol}}{{domain}}/rest/v1/lp-ppe-api/price-quote/addLockEvent' \
    --header 'Authorization: Bearer {{accessToken}}' \
    --data '{
        "priceQuoteId": "{{priceQuoteId}}",
        "lockId": "{{lockId}}",
        "lockStatusId": "{{priceStatusId}}",
        "userIdToUseWorseCase": "{{userId}}",
        "lockEventExceptionInfo": null,
        "lockEventExtensionInfo": null,
        "scenario": {{scenario}},
        "lockDateUpdate": null,
        "hasSellSide": false,
        "historicalPricing": false,
        "exportAndLock": false,
        "lockEventId": "{{lockEventId}}",
        "lockEventComment": "[Rate Sheet Date: 2/23/2023, 3:47:09 PM America/Los_Angeles]. [Rate Sheet Date: 2/23/2023, 3:47:09 PM America/Los_Angeles]",
        "overrideSetting": {
            "newExtensionFee": 0,
            "newConcessionFee": 0,
            "newRelockFee": 0,
            "newExpirationDate": null
        }
    }'

    Example Response

    This request doesn't return a response body.